import {FormRuleUtil} from "@/utils";
import {TASK_MAIN_COLUMNS} from "@/pages/modules/work/customer/resource/colums";

export const TASK_KIND_EDIT = {
    BODY: {
        code: null,
        content: null,
        title: null,

    },
    RULES: {
        code: FormRuleUtil.strRule("任务编号", true, 30, "abc"),
        title: FormRuleUtil.strRule("任务标题", true, 10),
        content: FormRuleUtil.strRule("任务内容", false, 500),

    }
}
export const TASK_MAIN_EDIT = {
    BODY: {
        content: [],
        isEnter: false,
        refreshExpiredTime: null,
        staff: null,
        account: null,

    },
    RULES: {
        content: FormRuleUtil.arrayRule("任务内容", true),
        isEnter: FormRuleUtil.boolRule("是否下发", false),
        staff: FormRuleUtil.strRule("管家", false),
        account: FormRuleUtil.strRule("客服人员", false),
        refreshExpiredTime: FormRuleUtil.strRule("下发时间", false),

    }
}

export const TASK_MAIN_DETAIL_EDIT = {
    BODY: {
        id:null,
        code:null

    },
    RULES: {
        code: FormRuleUtil.strRule("code", false),
    }
}
